const path = require('path')

function resolve (dir) {
  return path.join(__dirname, dir)
}

module.exports = {
  lintOnSave: true,
  chainWebpack: (config) => {
    config.resolve.alias
      .set('scssTool', resolve('src/assets/scss'))
      .set('public', path.resolve(__dirname, './public'))
  }
}
